"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.VxeFormDesign = exports.FormDesign = void 0;
var _core = require("@vxe-ui/core");
var _formDesign = _interopRequireDefault(require("./src/form-design"));
var _use = require("./src/use");
var _dynamics = require("../dynamics");
require("./render");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const VxeFormDesign = exports.VxeFormDesign = Object.assign({}, _formDesign.default, {
  install(app) {
    app.component(_formDesign.default.name, _formDesign.default);
  }
});
const formDesignHandle = {
  useWidgetName: _use.useWidgetName,
  useWidgetView: _use.useWidgetView,
  useSubtableView: _use.useSubtableView,
  useWidgetPropDataSource: _use.useWidgetPropDataSource
};
_dynamics.dynamicApp.use(VxeFormDesign);
_core.VxeUI.component(_formDesign.default);
_core.VxeUI.formDesignHandle = formDesignHandle;
/**
 * 已废弃，请使用 formDesignHandle
 * @deprecated
 */
_core.VxeUI.formDesign = formDesignHandle;
const FormDesign = exports.FormDesign = VxeFormDesign;
var _default = exports.default = VxeFormDesign;